JavaScript HTML5动画基础一书包括了你需要知道如何使用HTML5 canvas创建动态脚本动画的一切。它提供了所有相关的数学信息,你需要,在物理概念加速,速度,放松,弹簧,碰撞检测,动量守恒,三维,和向前和逆运动学。
Contents at a GlanceContents ...................................................................................................................... viAbout the Author ....................................................................................................... xvAbout the Technical Reviewers ............................................................................... xviAbout the the Cover Image Artist ........................................................................... xviiAcknowledgments .................................................................................................. xviiiIntroduction ............................................................................................................... xixPart I:JavaScript Animation BasicsChapter 1 :Basic Animation Concepts ....................................................................... 3Chapter 2: Basics of JavaScript for Animation ......................................................... 9Chapter 3: Trigonometry for Animation ................................................................... 35Chapter 4: Trigonometry for Animation ................................................................... 69Part II:Basic MotionChapter 5: Velocity and Acceleration .................................................................... 105Chapter 6: Boundaries and Friction ....................................................................... 131Chapter 7: User Interaction: Moving Objects Around .......................................... 153Part III: Advanced MotionChapter 8: Easing and Springing ........................................................................... 169Chapter 9:Collision Detection ................................................................................. 201Chapter 10: Coordinate Rotation and Bouncing Off Angles ............................... 225Chapter 11: Billiard Ball Physics ............................................................................ 247Chapter 12: Particle Attraction and Gravity .......................................................... 275Chapter 13:Forward Kinematics: Making Things Walk ........................................ 291Chapter 14: Inverse Kinematics: Dragging and Reaching ................................... 319Part IV: 3D AnimationChapter 15:3D Basics .............................................................................................. 343Chapter 16:3D Lines and Fills ................................................................................. 383Chapter 17:Backface Culling and 3D Lighting ...................................................... 413Part V:Additional TechniquesChapter 18: Matrix Math .......................................................................................... 431Chapter 19:Tips and Tricks ..................................................................................... 443Appendix ................................................................................................................... 467Index .......................................................................................................................... 475
评论